Skip to content

[Procedures] Fix Identityand ConnectionId Regression#5323

Merged
bfops merged 6 commits into
clockworklabs:masterfrom
kistz:fix-procedure-identity
Jun 17, 2026
Merged

[Procedures] Fix Identityand ConnectionId Regression#5323
bfops merged 6 commits into
clockworklabs:masterfrom
kistz:fix-procedure-identity

Conversation

@kistz

@kistz kistz commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Closes #5250

#4636 introduced a regression where the ProcedureContext used to include the sender and connection_id from the caller while now it is always empty (which is wrong)

Correct it.

Also fully migrate to database_identity which was forgotten about so i deprecated it for procedures (since they are now stable) and just changed it for HttpHandlers (because they are still unstable)

@gefjon since you did the lil woopsie (ugh pinging you again lol hope im not annoying haha)

API and ABI breaking changes

Breaking the HttpHandler function which is unstable.

Restoring behaviour of 2.3 which got lost with 2.4.

Expected complexity level and risk

  1. Trivial refactoring

Testing

  • The caller identity is there again for Procedures.

@joshua-spacetime joshua-spacetime left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small request, but otherwise LGTM.

Comment thread crates/bindings/src/http.rs
@kistz kistz requested a review from joshua-spacetime June 16, 2026 19:14
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Jun 17, 2026
@bfops bfops removed this pull request from the merge queue due to a manual request Jun 17, 2026
@bfops

bfops commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

this had merge conflicts in the queue

Signed-off-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
@bfops bfops added this pull request to the merge queue Jun 17, 2026
Merged via the queue into clockworklabs:master with commit 3ec168d Jun 17, 2026
78 of 89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TxContext does not have sender() information anymore

3 participants